import { Group } from '@/components/pro-panel/index.typing';

const group: Group = {
  title: '位置',
  key: 'location',
  collapsed: false,
  columns: [
    {
      label: '经度',
      prop: 'longitude',
      type: 'input-number',
      className: 'labelPositionLeft',
      formProps: { controls: false, min: -180, max: 180, labelWidth: 100, unit: '°' },
    },
    {
      label: '维度',
      prop: 'latitude',
      type: 'input-number',
      className: 'labelPositionLeft',
      formProps: { controls: false, min: -90, max: 90, unit: '°' },
    },
    {
      label: '高度',
      prop: 'height',
      type: 'input-number',
      className: 'labelPositionLeft',
      formProps: { controls: false, precision: 2, unit: '米' },
    },
  ],
};

export default group;
